package com.itheima.Dto;

import com.itheima.bean.OrderDetail;
import com.itheima.bean.Orders;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 订单 Dto, 返回给前段时, 需要加入订单详情
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDto extends Orders {
    private List<OrderDetail> orderDetails;
}
